package com_4;

import java.lang.reflect.Method;

public class ReflectDemo {
    public static void main(String[] args) {
        Calator c=new Calator();
        Class<? extends Calator> clss = c.getClass();
        Method[] declaredMethods = clss.getDeclaredMethods();
        for (Method dm : declaredMethods) {
                if(dm.isAnnotationPresent(check.class)){
                    
                }
        }

    }
}
